﻿<%@ Page Language="C#" MasterPageFile="~/webadmin/pages/MasterPage.master" AutoEventWireup="true" CodeFile="PhanQuyen_NguoiDung_frm.aspx.cs" Inherits="webadmin_pages_DanhMuc_Dan_Toc_add" Title="Tao sua xoa nguoi dung" %>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder_Main" Runat="Server">
    <div class="content-box"><!-- Start Content Box -->
				
				<div class="content-box-header">
					
					<h3>
                        Cập nhật/Thêm mới : <span style="color: #00cc00">tài khoản người dùng</span>
                    </h3>
					
					
					
				  <div class="clear"></div>
					
				</div> <!-- End .content-box-header -->
                <div class="content-box-content">
                
                <% if (!string.IsNullOrEmpty(messageError))
      {%>
			<div class="notification error png_bg">
				<a href="#" class="close"><img src="../resources/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
				<div>
				Thông báo lỗi:  <b><i><%=messageError%></i></b></div>
			</div>
			<%} %>
			
			    <table class="tbl_detail" width="100%">
			        <%if (act != "add")
                    { %>
					<tr>
					    <th class="tbl_detail_title" style="width: 163px;text-align:left;">Mã</th>
					    <th class="tbl_detail_data"><%=id%></th>
					</tr>
					<%} %>
					<tr>
					    <th class="tbl_detail_title" style="width: 163px;text-align:left;">
                            Tài khoản</th>
					    <th class="tbl_detail_data">
					        <asp:TextBox ID="txtTaiKhoan" runat="server" CssClass="text-input medium-input" Width="327px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="errforTenDanToc" runat="server" ControlToValidate="txtTaiKhoan"
                                ErrorMessage="Tài khoản không được để trống"></asp:RequiredFieldValidator>
					    </th>
					</tr>
					<tr>
					    <th class="tbl_detail_title" style="width: 163px;text-align:left;">
                            Mật khẩu</th>
					    <th class="tbl_detail_data">
					        <asp:TextBox ID="txtMatKhau" TextMode="Password" runat="server" CssClass="text-input medium-input" Width="327px"></asp:TextBox>&nbsp;
					    </th>
					</tr>
					<tr>
					    <th class="tbl_detail_title" style="width: 163px;text-align:left;">
                            Tên hiển thị</th>
					    <th class="tbl_detail_data">
					        <asp:TextBox ID="txtTenHienThi" runat="server" CssClass="text-input medium-input" Width="327px"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtTenHienThi"
                                ErrorMessage="Tên hiển thị không được để trống"></asp:RequiredFieldValidator>
					    </th>
					</tr>
					<tr>
					    <th class="tbl_detail_title" style="width: 163px;text-align:left;" align="left" valign="top">
                           <span style="vertical-align:top;">Mô tả</span></th>
					    <th class="tbl_detail_data">
                            <asp:TextBox ID="txtMoTa" runat="server" Rows="3" TextMode="MultiLine" Width="326px"></asp:TextBox></th>
					</tr>
					<tr>
					    <th class="tbl_detail_title" style="width: 163px;text-align:left;">
                            Thuộc nhóm người dùng</th>
					    <th class="tbl_detail_data">
					        <asp:DropDownList ID="cboNhom" runat="server" Width="197px"></asp:DropDownList>
                        </th>
					</tr>
					<tr>
					    <th class="tbl_detail_title" style="width: 163px;text-align:left;">
                            Kích hoạt</th>
					    <th class="tbl_detail_data"><asp:CheckBox ID="chkKichHoat" runat="server"/></th>
					</tr>
			    </table>
                    
                <p>
                     <asp:Button CssClass="button" ID="btnOk" runat="server" Text="Lưu Thông Tin" OnClick="btnOk_Click" />&nbsp;
                      <a href="PhanQuyen_NguoiDung_list.aspx">[Quay lại]</a>
                    </p>
                 </div>
                 </div>
</asp:Content>

